class CreateTalkeeship < ActiveRecord::Migration
  def self.up
    create_table :talkeeships do |t|
      t.integer :talkee_id, :null => false, :options =>
"CONSTRAINT fk_talkeeship_talkees foreign key (talkee_id) REFERENCES talkees(id)"
      t.integer :follow_id, :null => false, :options =>
"CONSTRAINT fk_talkeeship_follows foreign key (follow_id) REFERENCES follows(id)"
    end
    
    def self.down
      drop_table :talkeeships
    end
  end
end
